package com.xinyue.game.dataconfig;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author 王广帅
 * @Date 2021/5/9 22:40
 */
@Configuration
public class GameDataConfigConfiguration {

    @Bean
    public GameDataConfigContext gameDataConfigContext() {
        GameDataConfigService gameDataConfigService = gameDataConfigService();
        return new GameDataConfigContext(gameDataConfigService);
    }

    @Bean
    public GameDataConfigService gameDataConfigService() {
        return new GameDataConfigService();
    }

}
